<tagLib name="fanwe" />
<include file="Public:header" />
<div class="handle-btns">
	<fanwe:linkBtn text="{$Think.lang.RETURN_LIST}" href="{:Cookie::get('returnUrl')}" />
</div>
<form method='post' id="form" name="form" action="{:U(MODULE_NAME.'/update')}"  enctype="multipart/form-data">
<table cellpadding="4" cellspacing="0" border="0" class="table-form">
	<tr>
		<th width="150">{$Think.lang.TITLE}</th>
		<td><input type="text" class="textinput requireinput" name="title" value="{$vo.title}"  size="80" /></td>
	</tr>
	<tr>
		<th>所属分类</th>
		<td>
			<fanwe:select id='cate_id' name='cate_id' first='顶级栏目' textfield='cate_name' selected="vo['cate_id']" valuefield='cate_id' options='cate_list' />
		</td>
	</tr>
	<tr>
		<th>关键词</th>
		<td>
			<input type="text" class="textinput requireinput" name="keyword" value="{$vo.keyword}"  size="80" />
		</td>
	</tr>
	<tr>
		<th>{$Think.lang.CONTENT}</th>
		<td>
            <fanwe:editor id="USER_CONTENT" name="content" type="CKEDITOR" width="96%" height="130px" content="{$vo.content}" />
        </td>
	</tr>
        <tr>
            <th width="150">{$Think.lang.IMG}</th>
            <td>
                <input type='file' class='fileinput' name='img'/>
               <if condition="$vo.img neq '' ">
                    &nbsp; <a href="{$vo.img}" target='_blank' >浏览</a>
               </if>
            </td>
        </tr>
	<tr>
		<th>{$Think.lang.SORT}</th>
		<td>
			<input type="text" class="textinput" name="sort" value="{$vo.sort}" />
		</td>
	</tr>
	<tr>
		<th>{$Think.lang.SEO_TITLE}</th>
		<td><input type="text" class="textinput" name="seo_title" value="{$vo.seo_title}" size="80"/></td>
	</tr>
	<tr>
		<th>{$Think.lang.SEO_KEYWORDS}</th>
		<td>
			<textarea name="seo_keywords" class="textinput areainput" rows="3">{$vo.seo_keywords}</textarea>
		</td>
	</tr>
	<tr>
		<th>{$Think.lang.SEO_DESC}</th>
		<td>
			<textarea name="seo_desc" class="textinput areainput" rows="3">{$vo.seo_desc}</textarea>
		</td>
	</tr>
	<tr class="act">
		<th>&nbsp;</th>
		<td>
                        <input type="hidden" name="id" value="{$vo.id}" />
			<input type="submit" class="submit_btn" value="{$Think.lang.SUBMIT}" />&nbsp;&nbsp;
			<input type="reset" class="reset_btn" value="{$Think.lang.RESET}" />
		</td>
	</tr>
</table>
</form>
<include file="Public:footer" />